package com.ctshk.rpc.order.tour.req.client;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 旅游团-下单（C端）Req
 */
@Data
@ApiModel(value = "ClientSeriesOrderAddReq",description = "旅游团-下单（C端）Req")
public class ClientSeriesOrderAddReq implements Serializable {

/*  请求头中添加
    @NotNull(message = "订单来源不能为空")
    @ApiModelProperty(value = "订单来源（1：CPM云平台，2 ：CPM代理下单，3 ：PC官网，4 ：安卓，5：IOS，6：H5）",required = true)
    private Integer orderSource*/;

    @NotNull(message = "团期ID不能为空")
    @ApiModelProperty(value = "团期ID",required = true)
    private Long scheduleId;

    @NotNull(message = "渠道id不能为空")
    @ApiModelProperty(value = "渠道id",required = true)
    private Long channelId;

    @NotNull(message = "房间数不能为空")
    @ApiModelProperty(value = "房间数",required = true)
    private Integer roomNum;

    @ApiModelProperty(value = "会员类型（1：星赏会会员，2：普通会员，3：无会员）")
    private Integer memberType;

    @ApiModelProperty(value = "C端用户ID")
    private Long userId;

   /* @ApiModelProperty(value = "会员姓名")
    private String memberName;*/

    @NotNull(message = "联络人英文姓不能为空")
    @ApiModelProperty(value = "联络人英文姓",required = true)
    private String contactEnSurname;

    @NotNull(message = "联络人英文名不能为空")
    @ApiModelProperty(value = "联络人英文名",required = true)
    private String contactEnName;

    @ApiModelProperty(value = "联络人性别")
    private Integer contactGender;

    @NotNull(message = "电话区号不能为空")
    @ApiModelProperty(value = "联络人电话区号",required = true)
    private String phoneCode;

    @NotNull(message = "电话不能为空")
    @ApiModelProperty(value = "联络人电话",required = true)
    private String phone;

    @ApiModelProperty(value = "联络人邮箱")
    private String contactEmail;

    @ApiModelProperty(value = "紧急联络人英文姓")
    private String emergencyContactEnSurname;

    @ApiModelProperty(value = "紧急联络人英文名")
    private String emergencyContactEnName;

    @ApiModelProperty(value = "紧急联络人电话区号")
    private String emergencyMobileAreaCode;

    @ApiModelProperty(value = "紧急联络人电话")
    private String emergencyMobile;

/*  当前版本不做
    @ApiModelProperty(value = "推广码")
    private String activityCode;*/

    @ApiModelProperty(value = "收据抬头")
    private String receiptHeader;

    @ApiModelProperty(value = "备注")
    private String mark;

    @ApiModelProperty(value = "订单金额")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "使用积分")
    private Integer score;

    @NotNull(message = "游客列表不能为空")
    @ApiModelProperty(value = "游客列表",required = true)
    List<ClientTouristInfoReq> touristList;

}
